package com.ppt.android.net

import com.ppt.android.bean.VisionRequest
import com.ppt.android.bean.VisionResponse
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.Header
import retrofit2.http.POST

interface GoogleVisionApi {
    @POST("v1/images:annotate")
    suspend fun annotateImage(
        @Header("Authorization") authHeader: String,
        @Body request: VisionRequest
    ): Response<VisionResponse>
}